package org.smi.test;

import java.util.concurrent.Semaphore;

/**
 * @Author: ism
 * @Platform: Mac
 * @Date: 3:42 PM 2019/2/22
 */
public class Cdl {

    public static void main(String[] args) {
        final Semaphore semaphore = new Semaphore(5);
        for(int i = 0; i < 8; i++) {
            new Worker(i, semaphore).start();
        }

    }

}
